﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
using System.Security.Cryptography;

public partial class myprofile : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    internal string Md5EncodeText(string text)
    {
        StringBuilder sb = new StringBuilder();

        byte[] ss = MD5.Create().ComputeHash(Encoding.UTF8.GetBytes(text));
        foreach (byte b in ss)
        {
            sb.Append(b.ToString("X2"));
        }
        return sb.ToString().ToLower();
    }
}
